#include <robotLac.h>

Color_Sensor ColorSensor(27, 25, 24, 26,22);

void setup(){
  Serial.begin(9600);
  pinMode(23,OUTPUT);
  ColorSensor.begin();
  digitalWrite(23, LOW);
}

void loop(){
  ColorSensor.calc_RGB();
  Serial.print("RGB: ");
  Serial.print(ColorSensor.get_R());
  Serial.print(" , ");
  Serial.print(ColorSensor.get_G());
  Serial.print(" , ");
  Serial.println(ColorSensor.get_B());
  Serial.print("Color: ");
  Serial.println(ColorSensor.get_Color());
  delay(100);  
}
